@var content={
    <div class="tip"/>
    <form method="post" add-action="/system/roles/add" update-action="/system/roles/update" id="${formId}"  class="editForm">
        <input type="hidden" name="role.ROLE_ID" class="id"/>
        <tp:field id="roleName" label="角色名称" name="role.NAME" required="true"/>
        <tp:field id="roleIdent" label="角色标识" name="role.IDENT" required="true" desc="用来标识一个角色"/>
        <div class="form-group">
            <label for="remark">备注</label>
            <textarea class="form-control" rows="3" name="role.REMARK" placeholder=""></textarea>
        </div>
    </form>
@};

<tp:modalValidate id="${dialogId}" btn="添加角色" title="编辑角色" content="${content}" form="${formId}"/>

